package com.liuyu.lottery.controller;

import com.liuyu.lottery.domain.BiTree;
import com.liuyu.lottery.service.BiTreeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Scanner;

@RestController
@RequestMapping("biTree")
@Slf4j
public class BiTreeController {
    @Autowired
    private BiTreeService biTreeService;

    public void createBiTree() {
        biTreeService.createBiTree();
    }
}
